package xrz.com.jr.adapter;

import android.content.Context;
import android.widget.TextView;

import com.joanzapata.android.BaseAdapterHelper;
import com.joanzapata.android.QuickAdapter;

import xrz.com.jr.R;
import xrz.com.jr.entity.XueXi;

/**
 * Created by Administrator on 2016/7/29.
 */
public class Adapter_XiTong extends QuickAdapter<XueXi> {

    public Adapter_XiTong(Context context) {
        super(context, R.layout.item_xitong);
    }

    @Override
    protected void convert(BaseAdapterHelper helper, XueXi item) {
        TextView tv_ = helper.getView(R.id.tv_content);
        tv_.setText(item.getTitle());
    }
}
